package learnonline.dao;

import java.util.List;

import learnonline.entity.Teacher;

public interface TeacherDao {
	public List<Teacher> getAllTeacher();
	public Teacher fetchById(int id);
	public Teacher fetchBy(String name);
	public boolean addTeacher(int tid,String tname,String tdescription,String timage);
	public boolean updateTeacher(int tid,String tname,String tdescription,String timage);
}
